const $api: any = {}
$api.request = (options: any) => {
    return window.ipcRenderer.invoke("core", options.url, JSON.stringify(options.data), options.notify == undefined ? true : options.notify)
}
export default $api